package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.SysSubcategory;

/**
 * 子类别Service接口
 * 
 * @author toufu
 * @date 2021-03-28
 */
public interface ISysSubcategoryService 
{
    /**
     * 查询子类别
     * 
     * @param subcategoryId 子类别ID
     * @return 子类别
     */
    public SysSubcategory selectSysSubcategoryById(Long subcategoryId);

    /**
     * 查询子类别列表
     * 
     * @param sysSubcategory 子类别
     * @return 子类别集合
     */
    public List<SysSubcategory> selectSysSubcategoryList(SysSubcategory sysSubcategory);

    /**
     * 新增子类别
     * 
     * @param sysSubcategory 子类别
     * @return 结果
     */
    public int insertSysSubcategory(SysSubcategory sysSubcategory);

    /**
     * 修改子类别
     * 
     * @param sysSubcategory 子类别
     * @return 结果
     */
    public int updateSysSubcategory(SysSubcategory sysSubcategory);

    /**
     * 批量删除子类别
     * 
     * @param subcategoryIds 需要删除的子类别ID
     * @return 结果
     */
    public int deleteSysSubcategoryByIds(Long[] subcategoryIds);

    /**
     * 删除子类别信息
     * 
     * @param subcategoryId 子类别ID
     * @return 结果
     */
    public int deleteSysSubcategoryById(Long subcategoryId);
}
